package com.uphone.kingmall.bean;

import java.util.List;

/**
 * <pre>
 *     author : radish
 *     e-mail : 15703379121@163.com
 *     time   : 2019/3/16
 *     desc   :
 * </pre>
 */
public class IndexCatsList {

    /**
     * msg : ok
     * code : 0
     * cats : [{"id":1,"catName":"化妆品","catIcon":"http://localhost:8082/upload/images/cat/6e6c8ea8e75c4cbfab6e4cc78328e6ab.jpg"},{"id":2,"catName":"服装馆","catIcon":"http://localhost:8082/upload/images/cat/61c86f1567964fa3bd3e16aa45df8fa7.jpg"},{"id":3,"catName":"电器城","catIcon":"http://localhost:8082/upload/images/cat/0bfe69b62e3848b6855afe7f36726a9f.jpg"},{"id":4,"catName":"美食城","catIcon":"http://localhost:8082/upload/images/cat/c7f265c288bb424a82cb5c25af728b73.jpg"}]
     */

    private String msg;
    private int code;
    private List<CatsBean> cats;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<CatsBean> getCats() {
        return cats;
    }

    public void setCats(List<CatsBean> cats) {
        this.cats = cats;
    }

    public static class CatsBean {
        /**
         * id : 1
         * catName : 化妆品
         * catIcon : http://localhost:8082/upload/images/cat/6e6c8ea8e75c4cbfab6e4cc78328e6ab.jpg
         */

        private int id;
        private String catName;
        private String catIcon;

        public CatsBean(String catName) {
            this.catName = catName;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCatName() {
            return catName;
        }

        public void setCatName(String catName) {
            this.catName = catName;
        }

        public String getCatIcon() {
            return catIcon;
        }

        public void setCatIcon(String catIcon) {
            this.catIcon = catIcon;
        }
    }
}
